package com.more.spring.boot.startdemo.mapper;

import com.more.spring.boot.startdemo.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface UserMapper {

    @Select("select id, uname, gender from user_tb where id = #{id}")
    public User queryUserById(int id);
}
